export const state = () => ({
  unReadCount: 0,
})

export const mutations = {
  setUnReadCount (state, unReadCount) {
    Object.assign(state, {
      unReadCount
    })
  },
  clearUnReadCount (state) {
    Object.assign(state, {
      unReadCount: 0
    })
  }
}
